package com.marketsim.common.bean;

import com.marketsim.order.OrderType;

import java.util.Date;

/**
 * Created by Alex on 28.03.2014.
 */
public class OrderBean {
    private Date date;
    private String ticker;
    private OrderType orderType;
    private long amount;

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getTicker() {
        return ticker;
    }

    public void setTicker(String ticker) {
        this.ticker = ticker;
    }

    public OrderType getOrderType() {
        return orderType;
    }

    public void setOrderType(OrderType orderType) {
        this.orderType = orderType;
    }

    public long getAmount() {
        return amount;
    }

    public void setAmount(long amount) {
        this.amount = amount;
    }

    @Override
    public String toString() {
        return "OrderBean{" +
                "date=" + date +
                ", ticker='" + ticker + '\'' +
                ", orderType=" + orderType +
                ", amount=" + amount +
                '}';
    }
}
